var fs = require('fs');
var json = require('./dcv-all');
json = json.map(function (obj) {
    if (!obj.code.startsWith('DCV_')){
        obj.code = 'DCV_' + obj.code;
    }
    return obj;
});
// console.log(json);
fs.writeFile('./dcv.json',JSON.stringify(json));